package com.ctrip.ec.biz.entity.member;
import com.ctrip.ec.dal.DbColumn;
import com.ctrip.ec.dal.DbTable;
import com.ctrip.ec.dal.EntityBase;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Timestamp;
@DbTable("e_member_favor")
public class MemberFavorEntity extends EntityBase {
    @DbColumn("id")
    private Long id;
    @DbColumn("member_id")
    private Long memberId;
    @DbColumn("favor_type")
    private Integer favorType;
    @DbColumn("content_id")
    private Long contentId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("add_time")
    private Timestamp addTime;
    public  Long getId(){
        return this.id;
    }
    public void setId(Long id){
        this.id = id;
    }
    public  Long getMemberId(){
        return this.memberId;
    }
    public void setMemberId(Long memberId){
        this.memberId = memberId;
    }
    public  Integer getFavorType(){
        return this.favorType;
    }
    public void setFavorType(Integer favorType){
        this.favorType = favorType;
    }
    public  Long getContentId(){
        return this.contentId;
    }
    public void setContentId(Long contentId){
        this.contentId = contentId;
    }
    public  Timestamp getAddTime(){
        return this.addTime;
    }
    public void setAddTime(Timestamp addTime){
        this.addTime = addTime;
    }
}